import request from '@/utils/request'

export const getAllIdles = (data: any) =>
  request({
    url: '/admin/getAllidle',
    method: 'get',
    data
  })

export const deleteidle = (id: number) =>
  request({
    url: `/admin/deleteidle/${id}`,
    method: 'post',
  })